@extends('app')

@section('content')
    <div class="layui-card" style="height:100vh;">
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    @component('form.form',['id'=>'form'])

                        @include('form.input',[
                                'label' => '网站名称',
                                'name'  => 'title',
                                'class' => 'layui-col-md12',
                                'val'   => $model->title??''
                            ])

                        @include('form.input',[
                                'label' => '网站链接',
                                'name'  => 'link',
                                'class' => 'layui-col-md12',
                                'val'   => $model->link??''
                            ])

                        @include('form.input',[
                                'label' => '申请介绍',
                                'name'  => 'remark',
                                'must'  => false,
                                'class' => 'layui-col-md12',
                                'val'   => $model->remark??''
                            ])

                        @include('form.input',[
                                'label' => '联系方式',
                                'name'  => 'contact',
                                'must'  => false,
                                'class' => 'layui-col-md12',
                                'val'   => $model->title??''
                            ])

                        @include('form.submit',['label'=>'立即提交','form'=>'form','reload'=>"parent.location.reload('treeTable');"])
                    @endcomponent
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')

@endsection